package com.admgt.resource.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * This is the Entity class for file type
 * @author James
 *
 */
@Entity
@Table(name = "FileType")
public class FileType implements Serializable{
	private static final long serialVersionUID = 1L;
	private int typeId;
	private String typeName;
	@Id
	@GeneratedValue(generator = "system-uuid")
	@GenericGenerator(name = "system-uuid", strategy =  "uuid" )
	@Column(name = "typeId", nullable=false)
	public int getTypeId() {
		return typeId;
	}
	public void setTypeId(int typeId) {
		this.typeId = typeId;
	}
	@Column(name = "typeName", nullable = false)
	public String getTypeName() {
		return typeName;
	}
	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}
	

}
